THIS CODE RUNS/COMPILES ON 5.2 Irix OR LATER THIS CODE WILL NOT RUN ON LESS THAN 5.2 Irix THIS DEMO IS BUILD WITH PRE-RELEASED DIGITAL MEDIA LIBRARY CODE. THE API AND FUNCTIONALITY ARE SUBJECT TO CHANGE. THE FINAL RELEASED VERSIONS OF THE DIGITAL MEDIA LIBRARIES WILL BE AVAILABLE AT THE END OF THIS YEAR BY ORDERING THE DIGITAL MEDIA LIBRARY DEVELOPMENT OPTION SC4-DEMDEV-1.2 ______________________________________________________________________________ vidmap program demonstrates texture mapping of video. In a 4.0 Glx mixed model GL viewport you can select either a live source such as IndyCam, any other live video source, or you can select a movie file (SGI Moviefile or QuickTime) to be texture mapped to the polygon. The two forms of video are accessed in the program through two new digital media libraries, Video Library, VL, a device independent library for supporting video I/O and controlling computer video devices, and MV, the SGI movie library. NOTE: In order to build or run this demo the eoe and dev subsystems for the VL and MV libraries must be installed on your machine. The "new"[er] libraries in vidmap's Makefile hail from the following subsystems: libmovie.a -- dmedia_dev.sw.movie libvl.a -- dmedia_eoe.sw.video libcl.a -- dmedia_dev.sw.compression libaudio.a -- dmedia_dev.sw.audio libawareaudio.a -- dmedia_eoe.sw.audio libdmedia -- dmedia_dev.sw.common See toolbox/src/exampleCode/video/SWconfig4vidProds for more detail. To start execution of the program using the default live video source: % vidmap to use a specific video source other than what is currently set as the default: % vidmap -v # to use a moviefile % vidmap <movie_filename> i.e. vidmap seal.mv Moving cursor rotates the plane around the x and y axes. Cursor in center, centers the view of the plane. Updating automatically stops when plane is being moved. Keyboard controls: b - toggles between texture mapping and fast bit-blitting (lrectwrite) g - toggles on/off of grabbing new frames p - toggles performance reporting (fps every 10 frames) default off m - cycles through the texture map magnification filters n - cycles through the texture map minification filters q - toggles multiple images on same plane (1/4 texture map) ESC - exit
Source
Documentation
Movies
Reference